<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping assembly="SimCMS.Model" namespace="SimCMS.Model" xmlns="urn:nhibernate-mapping-2.2">
  <class name="Simchildobj" table="Sim_childobj" lazy="true" >
    <id name="Id" unsaved-value="null">
      <generator class="identity" />
    
    </id>
    <property name="CName">
      <column name="CName" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="GI">
      <column name="GI" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="Pic">
      <column name="Pic" sql-type="nvarchar" not-null="false" />
    </property>
    <property name="Url">
      <column name="Url" sql-type="nvarchar" not-null="false" />
    </property>
    <bag name="Simchildobjvalue"  cascade="all" inverse="true">
      <key column="ChildObjId" not-null="true"/>
      <one-to-many class="Simchildobjvalue"/>
    </bag>
    <property name="ObjId">
      <column name="ObjId" sql-type="int" not-null="false" />
    </property>
    <property name="CType">
      <column name="CType" sql-type="int" not-null="false" />
    </property>
    
    <!--<bag name="Simchildobjsvalue"  cascade="all" inverse="true">
      <key column="ChildObjId" not-null="true"/>
      <one-to-many class="Simchildobjsvalue"/>
    </bag>-->
  </class>
</hibernate-mapping>